<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Visit
 *
 * @property int $vi_id 用户编号
 * @property string $vi_name 称呼
 * @property string $vi_account 账号
 * @property string|null $vi_password 密码
 * @property string|null $vi_call 联系电话
 * @property string|null $vi_call_fixed 固定电话
 * @property string|null $vi_email 电子邮箱
 * @property string|null $vi_date_login 登录时间
 * @property int|null $vi_date_valid 有效时间
 * @property \Carbon\Carbon|null $vi_created 创建时间
 * @property \Carbon\Carbon|null $vi_updated 修改时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViAccount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViCall($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViCallFixed($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViCreated($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViDateLogin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViDateValid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViEmail($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViPassword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Visit whereViUpdated($value)
 * @mixin \Eloquent
 */
class Visit extends Model
{
    const CREATED_AT = 'vi_created';
    const UPDATED_AT = 'vi_updated';

    protected $table = 'visit';
    protected $primaryKey = 'vi_id';
    protected $fillable = [
        'vi_account'
    ];
}
